﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BookOnline.Business;

namespace BookOnline.Admin.Include
{
    public partial class AuthorManage : System.Web.UI.Page
    {
        AuthorService service = new AuthorService();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                AuthorSelectAll();
            }
        }

        void AuthorSelectAll()
        {
            grAuthor.DataSource = service.AuthorSelectAll();
            grAuthor.DataBind();
        }
    }
}